Merge from trunk.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2011 16:34:41 +0000 (09:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2011 16:34:41 +0000 (09:34 -0700)
1  2 
ChangeLog
admin/ChangeLog
leim/ChangeLog
lib-src/ChangeLog
msdos/ChangeLog
src/ChangeLog

diff --cc ChangeLog
index ab2bf756a1350c56fbb3ebb2a676c403f6e4d2d7,aae3e190049ab05912dc39dec5c02da918032e49..f33d61ef9f1d07ed1650fd5c3e5f9036a2fb0c51
+++ b/ChangeLog
@@@ -1,37 -1,3 +1,51 @@@
- 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Merge from gnulib, using build-aux to remove clutter (Bug#9169).
++      This is to fix the following problems:
++       . On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is
++         configured not to use gtk or any other thread-using library,
++         signals aren't blocked correctly.
++       . On IRIX 6.5 it fixes an unwanted clash between Emacs's
++         and IRIX's signal handling.
++       . On Cygwin 1.7.5 it works around an incompatibility with
++         the system pthread_sigmask.
++       . On MacOS X 10.5 (32-bit), files whose inode numbers
++         exceed 2**31 cannot be read or manipulated.
++       . pthread_sigmask: Actually use results of gl_THREADLIB.
++       . strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc.
++       . find 'ar' program that fits with --host argument.
++       . Allow the user to override the choice of AR, ARFLAGS, RANLIB.
 +      * autogen/README: Update destination list.
 +      * autogen/copy_autogen, autogen/update_autogen, .bzrignore:
 +      The autogenerated files compile, config.guess,
 +      config.sub, depcomp, install-sh, and missing are now in build-aux.
 +      * m4/largefile.m4: New file, so that Emacs does not mess up when
 +      accessing files with large inode numbers in MacOS X 10.5 and later.
 +      * m4/nocrash.m4: New file, to avoid triggering background debugger
 +      and/or create core dumps during 'configure'.
 +      * build-aux/move-if-change: Renamed from move-if-change.
 +      * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
 +      * build-aux/snippet/c++defs.h: Renamed from c++defs.h.
 +      * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
 +      * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
 +      * Makefile.in (epaths-force, sync-from-gnulib):
 +      move-if-change is now in build-aux.
 +      (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
 +      of gnulib's pthread_sigmask module, but Emacs doesn't need it.
 +      (mkdir): install-sh is now in build-aux.
 +      * config.bat: c++defs.h is now in build-aux/snippets.
 +      * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
 +      usual parameter).
 +      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
 +      * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
 +      to build-aux/snippet.
 +      * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
 +      * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
 +      Merge from gnuilib.  This fixes porting bugs on Cygwin, Irix, and
 +      Solaris, enables MacOS extensions, and enables nocrash during
 +      'configure'.
 +      * make-dist: Adjust to new build-aux and build-aux/snippit dirs.
 +
  2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        * configure.in (snprintf): New check.
diff --cc admin/ChangeLog
index 920bda744d060506cda0a09edc1fcf433789ab97,50da1818e2440b8b3bc364b816356fa16e3a04ff..f7ef6a7f353d3b12b54e491304a9d20fa7d8b896
@@@ -1,12 -1,3 +1,12 @@@
- 2011-09-03  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Merge from gnulib (Bug#9169).
 +      * notes/copyright: The files compile, config.guess, config.sub,
 +      depcomp, install-sh, missing, and move-if-change are now in the
 +      new build-aux subdirectory.  The files arg-nonnull.h, c++defs.h,
 +      and warn-on-use.h are now in build-aux/snippets.  New file
 +      build-aux/snippets/_Noreturn.h.
 +
  2011-08-23  Eli Zaretskii  <eliz@gnu.org>
  
        * unidata/unidata-gen.el (unidata-prop-alist): Update the default
diff --cc leim/ChangeLog
index c28e947262571165ceda8a155e5eaba9d6b87167,426c679fe1f2951ee6dd66df9049f23be8cd1e95..23050bf791a4b945290722d3e9e55d141705dd15
@@@ -1,7 -1,3 +1,7 @@@
- 2011-09-03  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (install): install-sh is now in build-aux (Bug#9169).
 +
  2011-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * quail/latin-ltx.el: Complete the super and subscript letters.
index 4604ba436e6d3e62c3017c0a3ddbc9a1ff1d64fe,836af349960fa656063f463f69d3bdd561b591ef..6f36a2ad363d7dd51aa7cc5c85f0aa1daf548410
@@@ -1,8 -1,3 +1,8 @@@
- 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
 +      to build-aux (Bug#9169).
 +
  2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        Integer and memory overflow issues (Bug#9397).
diff --cc msdos/ChangeLog
index 4be868cc0190fd70d7c2bcdfd7a94853f276ca54,878cab4e704b4a91a91c392bcadde914220b1a55..eac001b8fb240cf630cbb13c79733a522571d2ac
@@@ -1,8 -1,3 +1,8 @@@
- 2011-07-25  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
 +      from top level to build-aux/snippet (Bug#9169).
 +
  2011-06-07  Eli Zaretskii  <eliz@gnu.org>
  
        * sedlibmk.inp (PTRDIFF_T_SUFFIX): Edit to nothing.
diff --cc src/ChangeLog
index ce9a1e9ee84e48674369f58292d53510511f278f,a58f97b30bebca4559f3095d47901dbc0d1c03f7..af16c44869ac6c1bfd3c548e1f6eb4aa8c25ed05
@@@ -1,7 -1,26 +1,30 @@@
- 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (gl-stamp): move-if-change now in build-aux (Bug#9169).
 +
+ 2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
+       * fileio.c: Fix bugs with large file offsets (Bug#9428).
+       The previous code assumed that file offsets (off_t values) fit in
+       EMACS_INT variables, which is not true on typical 32-bit hosts.
+       The code messed up by falsely reporting buffer overflow in cases
+       such as (insert-file-contents "big" nil 1 2) into an empty buffer
+       when "big" contains more than 2**29 bytes, even though this
+       inserts just one byte and does not overflow the buffer.
+       (Finsert_file_contents): Store file offsets as off_t
+       values, not as EMACS_INT values.  Check for overflow when
+       converting between EMACS_INT and off_t.  When checking for
+       buffer overflow or for overlap, take the offsets into account.
+       Don't use EMACS_INT for small values where int suffices.
+       When checking for overlap, fix a typo: ZV was used where
+       ZV_BYTE was intended.
+       (Fwrite_region): Don't assume off_t fits into 'long'.
+       * buffer.h (struct buffer.modtime_size): Now off_t, not EMACS_INT.
+ 2011-09-05  Michael Albinus  <michael.albinus@gmx.de>
+       * dbusbind.c (xd_signature_cat): Rename from signature_cat.
  2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        sprintf-related integer and memory overflow issues (Bug#9412).